import request from '@/utils/request'

// 列表
export function ageDocList(query) {
    return request({
        url: '/framework/doc/list',
        method: 'get',
        params: query
    })
}

// 新增
export function addDoc(data) {
    return request({
        url: '/framework/doc',
        method: 'post',
        data: data
    })
}

// 修改
export function updateDoc(data) {
    return request({
        url: '/framework/doc',
        method: 'put',
        data: data
    })
}

// 删除
export function delDoc(docIds) {
    return request({
        url: '/framework/doc/' + docIds,
        method: 'delete'
    })
}